package org.infinitest.intellij;

import org.junit.Test;
import static org.junit.Assert.assertThat;
import static org.hamcrest.CoreMatchers.equalTo;

public class WhenDiscoveringInfinitestJar
{
  @Test
  public void shouldDetermineFileNameFromEmbeddedPom()
  {
    InfinitestJarLocator locator = new InfinitestJarLocator();
    assertThat(locator.findInfinitestJarName(), equalTo("infinitest-core-5.0-SNAPSHOT.jar"));
  }
}
